using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WqLunTan.Models.DataBase
{
    /// <summary>
    /// 公告
    /// </summary>
    [Table("notice")]
    public class notice: BaseUpdateEntity
    {

        [MaxLength(255)]
        [Required(AllowEmptyStrings = true)]
        public string user_name { get; set; }

        [MaxLength(1000)]
        [Required(AllowEmptyStrings = true)]
        public string content { get; set; }

        public bool is_show { get; set; }
    }
}
